package com.learn.mapper;

import com.learn.pojo.Blog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description: 描述
 * @author: Mr.Hu
 * @create: 2022/3/20 17:47
 **/
@Mapper
public interface BlogMapper {
    List<Blog> queryAll();
    Blog queryByBlogId(int blogId);
    Blog queryByBlogTitle(String blogTitle);
    int addBlog(Blog blog);
}
